package cate.common.table.activity.allonhook;

import cate.common.table.EExcelNoteField;
import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;

public class AllOnHookConfigRow extends ERow {
    @EExcelNoteField(fieldName = "活动配置ID", defaultValue = "10001")
    public int configId;
    @EExcelNoteField(fieldName = "随机总人数下限",defaultValue = "100")
    public int totalLowerBound;
    @EExcelNoteField(fieldName = "随机总人数上限",defaultValue = "300")
    public int totalUpperBound;
    @EExcelNoteField(fieldName = "随机时间下限",defaultValue = "100")
    public int dTimeLowerBound;
    @EExcelNoteField(fieldName = "随机时间上限",defaultValue = "150")
    public int dTimeUpperBound;
    @EExcelNoteField(fieldName = "随机增长人数下限",defaultValue = "1")
    public int dNumLowerBound;
    @EExcelNoteField(fieldName = "随机增长人数上限",defaultValue = "3")
    public int dNumUpperBound;
    @EExcelNoteField(fieldName = "分组",defaultValue = "1")
    public int group;
    @EExcelNoteField(fieldName = "特权ID",defaultValue = "3")
    public int privilegeId;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID");
    }
}
